//
// Labels
// --------------------------------------------------


.label {
	border-radius: 2px;
	font-weight: 600;
}


// Colors
// Contextual variations (linked labels get darker on :hover)

.label-default {
    .label-variant(@gray);
}

.label-primary {
    .label-variant(@primary);
}

.label-success {
    .label-variant(@success);
}

.label-info {
    .label-variant(@info);
}

.label-warning {
    .label-variant(@warning);
}

.label-danger {
    .label-variant(@danger);
}

// Labels

.label-variant(@color) {
    background-color: @color;

    &[href] {
        &:hover,
        &:focus {
            background-color: darken(@color, 10%);
        }
    }
}